package com.chuangke.file.model;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;

/**
 * 文档链接分享对象 sys_file_share
 * 
 * @author chuangke
 * @date "2020-09-08"
 */
public class SysFileShare {
   
    /** id */
    private String id;

    /** 主体对象 */
    private String dbankId;

    /** 文件 */
    private String fileId;
    @TableField(exist = false) private String fileName;
    /** 有效期 */
    private Long validity;

    /** 过期时间 */
    private Date expireTime;

    /** 查看权限 */
    private String canView;

    /** 下载权限 */
    private String canDownload;

    /** 上传权限 */
    private String canUpload;

    /** 管理权限 */
    private String canManage;

    /** 修改权限 */
    private String canEdit;

    /** 删除权限 */
    private String canDelete;

    private Date createdAt;

    private String createdBy;

    /** 修改时间 */
    private Date updatedAt;

    private String updatedBy;


    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }
    
    public void setDbankId(String dbankId) {
        this.dbankId = dbankId;
    }

    public String getDbankId() {
        return dbankId;
    }
    
    public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public void setFileId(String fileId) {
        this.fileId = fileId;
    }

    public String getFileId() {
        return fileId;
    }
    
    public void setValidity(Long validity) {
        this.validity = validity;
    }

    public Long getValidity() {
        return validity;
    }
    
    public void setExpireTime(Date expireTime) {
        this.expireTime = expireTime;
    }

    public Date getExpireTime() {
        return expireTime;
    }
    
    public void setCanView(String canView) {
        this.canView = canView;
    }

    public String getCanView() {
        return canView;
    }
    
    public void setCanDownload(String canDownload) {
        this.canDownload = canDownload;
    }

    public String getCanDownload() {
        return canDownload;
    }
    
    public void setCanUpload(String canUpload) {
        this.canUpload = canUpload;
    }

    public String getCanUpload() {
        return canUpload;
    }
    
    public void setCanManage(String canManage) {
        this.canManage = canManage;
    }

    public String getCanManage() {
        return canManage;
    }
    
    public void setCanEdit(String canEdit) {
        this.canEdit = canEdit;
    }

    public String getCanEdit() {
        return canEdit;
    }
    
    public void setCanDelete(String canDelete) {
        this.canDelete = canDelete;
    }

    public String getCanDelete() {
        return canDelete;
    }
    
    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

	public Date getCreatedAt() {
		return createdAt;
	}

	public void setCreatedAt(Date createdAt) {
		this.createdAt = createdAt;
	}

	public String getCreatedBy() {
		return createdBy;
	}

	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}

	public String getUpdatedBy() {
		return updatedBy;
	}

	public void setUpdatedBy(String updatedBy) {
		this.updatedBy = updatedBy;
	}
    
}
